package com.hainiu.cat.web.codeStudy.hutool;

import cn.hutool.core.clone.CloneRuntimeException;
import cn.hutool.core.clone.Cloneable;

import java.io.Serializable;

/**
 * create by biji.zhao on 2021/2/26
 */
public class Cat implements Cloneable<Cat>, Serializable {

    private String id;

    @Override
    public Cat clone() {
        try {
            return (Cat) super.clone();
        }catch (CloneNotSupportedException  e) {
            throw new CloneRuntimeException(e);
        }
    }
}
